package com.example.demo.kafka;//package com.example.demo.common.redis;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Kafka {
    @Value("${spring.kafka.bootstrapServers}")
    private String bootstrapServers;
    @Value("${spring.kafka.groupId}")
    private String groupId;
    @Value("${spring.kafka.topic}")
    private String topic;

    public String getBootstrapServers() {
        return bootstrapServers;
    }

    public void setBootstrapServers(String bootstrapServers) {
        this.bootstrapServers = bootstrapServers;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }
}

